import { Code, Cover, CreateDate, Desc, Digdit, Entity, Link, PrimaryUuid, Title, UpdateDate } from "../utils";

@Entity({
    name: 'fj_yd_adv'
})
export class FjYdAdv {
    @PrimaryUuid()
    id: string;

    @Title()
    title: string;

    @Cover()
    cover: string;

    @Link()
    link: string;

    @Code()
    position: string;

    @Digdit({default: 0})
    displayorder: number;

    @Desc()
    desc: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    udpate_date: Date;
}